package libofei.controller.admin.index;

import libofei.common.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/admin")
public class AdminController extends BaseController {

    private static final String INDEX = getViewPath("admin/index/index");//主页菜单
    private static final String WELCOME = getViewPath("admin/index/welcome");//欢迎界面


    @RequestMapping("/index")
    public String admin(HttpServletRequest request) {

        return INDEX;
    }

    @RequestMapping("/welcome")
    public String welcome(HttpServletRequest request) {

        return WELCOME;
    }
}
